package org.hobbyhorse.ranks.client.ui;

import org.hobbyhorse.ranks.client.BaseTablesMenu;
import org.hobbyhorse.ranks.client.ClientFactory;
import org.hobbyhorse.ranks.client.StableMenu;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.StackLayoutPanel;
import com.google.gwt.user.client.ui.Widget;

public class LeftPanel extends Composite {

	private StackLayoutPanel stackPanel;

	@UiField (provided=true)
	StableMenu stableMenu;
	@UiField BaseTablesMenu baseTableMenu;
	ClientFactory clientFactory;
	
	interface Binder extends UiBinder<Widget, LeftPanel> {}
	private static Binder uiBinder = GWT.create(Binder.class);

	public LeftPanel(ClientFactory clientFactory) {
		this.clientFactory=clientFactory;
		stableMenu = new StableMenu(clientFactory);
		initWidget(uiBinder.createAndBindUi(this));

	}


}
